package com.jindy.jpush.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

/**
 * @author yqq
 * @date 2023/4/8
 * @Description
 */
public class UniPushDomain {
    /**
     * 设备id，支持多个以数组的形式指定多个设备，如["cid-1","cid-2"]，数组长度不大于1000
     */
    private List<String> cids;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;

    public UniPushDomain() {
    }

    public UniPushDomain(List<String> cids, String title, String content) {
        this.cids = cids;
        this.title = title;
        this.content = content;
    }

    public List<String> getCids() {
        return cids;
    }

    public void setCids(List<String> cids) {
        this.cids = cids;
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("cids", cids)
                .append("title", title)
                .append("content", content)
                .toString();
    }
}
